package com.my.service;

import com.baomidou.mybatisplus.service.IService;
import com.my.bean.AlreadyAppointment;
import com.my.bean.ExternalAlready;
import com.my.bean.ResultPage;
import com.my.bean.VoPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 已经预约产康项目安排 服务类
 * </p>
 *
 * @author 闫亚茹
 * @since 2018-08-31
 */
public interface ExternalAlreadyService extends IService<ExternalAlready> {


    /**
     * 查询
     * @return
     */
    List<ExternalAlready> selectResult();

    /**
     * 查询房间
     * @return
     */
    List<ExternalAlready> selectHomeId();

    /**
     * 根据id查询
     * @param id
     * @return
     */
    List<ExternalAlready> selectHomeById(Long id);

    /**
     * 批量添加
     * @return
     */
    List<ExternalAlready> bathInsert();

    /**
     * 查询所有数据
     * @return
     */
    List<ExternalAlready> selectMyPage();
    public ResultPage<ExternalAlready> selectMyPage(Map map, VoPage voPage);


}
